package cn.sylinx.hbatis.exception;

/**
 * 事务异常
 * 
 * @author han
 *
 */
@SuppressWarnings("serial")
public class TransactionException extends HbatisException {

	public TransactionException() {
		super();
	}

	public TransactionException(String message) {
		this(500, message);
	}

	public TransactionException(int code, String message) {
		super(code, message);
	}

	public TransactionException(String message, Throwable cause) {
		this(500, message, cause);
	}

	public TransactionException(int code, String message, Throwable cause) {
		super(code, message, cause);
	}

	public TransactionException(Throwable cause) {
		super(cause);
	}
}
